package com.imooc.implicit_app

object ImplicitClassApp extends App {

  implicit class Calculator(x:Int){

    def add(a:Int) = a + x

  }

  println(1.add(3))

}


